package org.gaaidou.ptarmigan.transactioncoordinator.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.gaaidou.ptarmigan.transactioncoordinator.bean.Transaction2PC;
import org.gaaidou.ptarmigan.transactioncoordinator.service.Transaction2PCService;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class Transaction2PCServiceImpl implements Transaction2PCService {

    @Override
    public void start(String txId, String origin) {

    }

    @Override
    public void rollback(String txId, String origin) {

    }

    @Override
    public void commit(String txId, String origin) {

    }

    @Override
    public void complete(String txId, String origin) {

    }

    @Override
    public Transaction2PC fetch(String txId, String origin) {
        return null;
    }
}
